package com.lmf.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 *  一级分类对应的响应实体类
 */
@Data
public class OneSubject {
    private String id;
    private String title;
    //一个一级分类里面有多个二级分类
    List<TwoSubject> children  = new ArrayList<>();
}
